package cinema.v1_5.service;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class DBUtil {
    private static final String URL  = "jdbc:mariadb://localhost:3306/cinema";
    private static final String USER = "root";
    private static final String PWD  = "123456";

    public static Connection getConn() throws SQLException {
        return DriverManager.getConnection(URL, USER, PWD);
    }
}